#-------------------------------------------------
#
# Project created by QtCreator 2015-06-27T22:18:28
#
#-------------------------------------------------

QT       += core gui network

greaterThan(QT_MAJOR_VERSION, 4): QT += widgets

TARGET = NetAssistant
TEMPLATE = app

QMAKE_CXXFLAGS += -std=c++0x

CONFIG -= debug_and_release

#存在debug_and_release最优解
CONFIG(debug,debug|release){
    contains(QT_ARCH,x86_64){
        DESTDIR = $$OUT_PWD/x64/debug/exe
        OBJECTS_DIR = $$OUT_PWD/x64/debug/obj
        MOC_DIR = $$OUT_PWD/x64/debug/moc
        RCC_DIR = $$OUT_PWD/x64/debug/rcc
        UI_DIR = $$OUT_PWD/x64/debug/ui
    }else {
        DESTDIR = $$OUT_PWD/x86/debug/exe
        OBJECTS_DIR = $$OUT_PWD/x86/debug/obj
        MOC_DIR = $$OUT_PWD/x86/debug/moc
        RCC_DIR = $$OUT_PWD/x86/debug/rcc
        UI_DIR = $$OUT_PWD/x86/debug/ui
        message($$QMAKESPEC)
    }
} else {
    contains(QT_ARCH,x86_64){
        DESTDIR = $$OUT_PWD/x64/release/exe
        OBJECTS_DIR = $$OUT_PWD/x64/release/obj
        MOC_DIR = $$OUT_PWD/x64/release/moc
        RCC_DIR = $$OUT_PWD/x64/release/rcc
        UI_DIR = $$OUT_PWD/x64/release/ui
    }else {
        DESTDIR = $$OUT_PWD/x86/release/exe
        OBJECTS_DIR = $$OUT_PWD/x86/release/obj
        MOC_DIR = $$OUT_PWD/x86/release/moc
        RCC_DIR = $$OUT_PWD/x86/release/rcc
        UI_DIR = $$OUT_PWD/x86/release/ui
    }
}


SOURCES += main.cpp\
        mainwindow.cpp \
        udpclient.cpp

HEADERS  += mainwindow.h \
    udpclient.h


FORMS    += mainwindow.ui


